<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ taglib prefix="sb" uri="/struts-bootstrap-tags"%>

<html lang="en">
<head>
<title><tiles:getAsString name="pageTitle" /></title>
<sj:head jqueryui="true" jquerytheme="cupertino" loadAtOnce="true" />
<sb:head />
<style>
input[type="text"] {
	height: 30px;
}

.footer {
	background-color: aqua;
	position: fixed;
	bottom: 0;
	width: 100%;
}
</style>

<link href="../css/styles.css" rel="stylesheet" media="screen">

</head>
<body>

	<s:if test="%{pageControl.header == true}">
		<tiles:insertAttribute name="header" />
	</s:if>

		<div class="row-fluid">
			<s:if test="%{pageControl.mainMenu == true}">
				<div class="span3">
					<tiles:insertAttribute name="mainmenu"></tiles:insertAttribute>
				</div>
			</s:if>
			<div class="span9" id="content">
				<tiles:insertAttribute name="breadcrumb"></tiles:insertAttribute>
			</div>
			<div class="span9" id="content">
				<tiles:insertAttribute name="content"></tiles:insertAttribute>
			</div>
		</div>


	<s:if test="%{pageControl.footer == true}">
		<tiles:insertAttribute name="footer"></tiles:insertAttribute>
	</s:if>
</body>
</html>
